chrome.runtime.onMessage.addListener((message, sender, sendResponse) => {
    if (message.type === "show_notification") {
      chrome.notifications.create({
        type: 'basic',
        iconUrl: 'icon48.png',
        title: '通知标题',
        message: '这是一条消息通知'
      });
    }
  });
  